package com.djl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.djl.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;

/**
 * null
 * @author  dongjialin
 * @date 2021-12-10 
 */
@ToString
@Data
@Entity ( name ="student" )
public class Student  {

	@Column(name = "id", length = 11 ,nullable = false,columnDefinition = "null")
	@Id
	private String id;

	@Column(name = "s_name", length = 20 ,nullable = false,columnDefinition = "null")
	private String sName;

	@Column(name = "s_age", length = 11 ,nullable = false,columnDefinition = "null")
	private Integer sAge;

}
